package pattern.command;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

// 播放命令类
@AllArgsConstructor
@NoArgsConstructor
public class PlayAction implements IAction {
    private Player player;
    @Override
    public void execute() {
        player.play();
    }
}
